let p1 = fetch("http://chst.vip:1234/api/getbrandtitle").then(body => body.json())

// console.log(p1);
let uu = document.querySelector('.uu')
let lis = uu.children;
let contents = document.querySelectorAll(".content")
Promise.all([p1])
    .then(res => {
        // console.log(res);
        res.forEach((item, index) => {
            let html = ""
            item.result.forEach(data => {
                html +=
                    `
                 <li class="render">
                <b>${data.brandTitle}<img src="../images/xia.png" alt=""></b>
                <div class="content"></div>
                 </li>

                `
            })
            lis[index].innerHTML = html;
        })
    })
let p2 = fetch(`http://chst.vip:1234/api/getbrand?brandtitleid=${brandtitleId}`).then(body => body.json())

Promise.all([p2])
    .then(res => {
        console.log(res);
        console.log(1);
})
